package com
{
	import mx.managers.CursorManager;
	
	/*
	
	Author : Roy Raul.
	
	Component : AppConst             
	
	Version History         : 0.1 Date Jul-20-2011
	
	Current Version         : 0.1 Date Jul-20-2011
	
	Build Date              : Apr-14-2010
	
	*/
	public class AppConst
	{
		public function AppConst(){}
		public static const VIEW_SPLASH_SCREEN:String = "viewSplashScreen";
		public static const VIEW_BASE_PAGE:String= "viewBasePage";
		public static const LOAD_RESOURCE:String= "load_resource";
		public static const RESOURCE_LOADING_COMPLETE:String = "resource_loading_complete";
		
		public static const SPLASH_VIEW_INDEX:int = 0;
		public static const BASE_PAGE_INDEX:int = 1;
		
		public static const TEST_REGISTER:String = 'test_register';
		public static const TEST_REGISTER2:String = 'test_register2';
		
		public static const COMMON_GAP:Number = 20;
		
		
		[Embed(source="assets/styles/ShowBusy.swf")]
		private static  var waitCursorSymbol:Class;
		
		private static 	var _cursorID:Number = 0; 
		
		public static  function setAppBusyCursor():void
		{
			_cursorID = CursorManager.setCursor(waitCursorSymbol);
			trace(_cursorID)
		}
		
		public static  function removeAppBusyCursor():void
		{
			CursorManager.removeCursor(_cursorID);
		}
		
	}
}